package com.example.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.backend.entity.DiZhi;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DiZhiMapper extends BaseMapper<DiZhi> {
    @Select("select * from wm_dz where yhid=#{yhid}")
    List<DiZhi> queryDizhiByYHId(Integer yhid);
}
